<template>
  <div class="sign">
    <header class="header">
      <section class="container">
        <h1 class="logo">
          <a href="/" title="青动大学生运动社区">
            <img src="~/assets/img/logo.png" width="100%" alt="青动大学生运动社区"/>
          </a>
        </h1>
        <div class="h-r-nsl">
          <ul class="h-r-login">
            <li id="no-login">
              <a href="/" title="回首页">
                <span class="vam ml5">回首页</span>
              </a>
              |
              <a href="/register" title="注册">
                <span class="vam ml5">注册</span>
              </a>
            </li>
          </ul>
        </div>
      </section>
    </header>
    <!--表单-->
    <nuxt/>
    <footer class="footer">
      <div class="footer-font">
        <span>青动 一站式大学生运动社区</span><br/>
        <span>线上与百千高校运动爱好者畅快交流，线下约个本校同学一起出汗！</span>
      </div>
    </footer>
  </div>
</template>
<style>
.header {
  background-color: #2779F7;
  height: 80px
}

.footer {
  background-color: #2779F7;
  color: #FFFFFF;
  height: 80px;
  width: 100%;
  display: table;
  text-align: center;
}

.footer-font {
  display: table-cell;
  vertical-align: middle;
  font-size: medium;
}

.nav {
  padding: 0 0 0 50px
}

.nav, .nav li, .nav li a {
  float: left
}

.nav li a {
  border-bottom: 2px solid transparent;
  color: #FFFFFF;
  display: block;
  font-size: 20px;
  line-height: 50px;
  padding: 0 10px;
  margin: 0 10px;
  transition: .3s;
  -webkit-transition: .3s
}

.logo {
  float: left;
  width: 163px;
  height: 72px;
  overflow: hidden;
  margin: 0 auto
}

.logo a {
  display: table-cell;
  vertical-align: middle;
  height: 72px
}

.logo a img {
  display: block;
  max-width: 100%;
  height: auto;
  vertical-align: middle
}

</style>
